<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/RiskContent',
    'namespace' => 'Frieza\\Modules\\RiskContent\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/index', 'RiskContentListController@index');
    $router->post('/forbidden/addForbidden', 'ForbiddenUserController@addForbidden')->name('rickContent.addForbidden');
    $router->post('/forbidden/freeForbid', 'ForbiddenUserController@freeForbid')->name('rickContent.freeForbid');
    $router->get('/toBan/index', 'ToBanController@index');
    $router->post('/batchForbidden/batchForbiddenInfo', 'BatchForbiddenController@batchForbiddenInfo');
    $router->get('/deviceList', 'RiskContentListController@deviceList');


    $router->get('/checkLog/index', 'CheckLogController@index');
    $router->get('/checkLog/list', 'CheckLogController@list');
    $router->get('/checkLog/backgroundList', 'CheckLogController@backgroundList');
    $router->get('/checkLog/nickList', 'CheckLogController@nickList');
    $router->get('/checkLog/profileList', 'CheckLogController@profileList');
    $router->get('/checkLog/approved', 'CheckLogController@approved');
    $router->get('/checkLog/setDefault4Avatar', 'CheckLogController@setDefault4Avatar');
    $router->get('/checkLog/setDefault4Background', 'CheckLogController@setDefault4Background');
    $router->get('/checkLog/setDefault4Nick', 'CheckLogController@setDefault4Nick');
    $router->get('/checkLog/setVisibleYourself', 'CheckLogController@setVisibleYourself');



});
